package com.dz.lm.dao.usersend.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.userproduct.UserProduct;
import com.dz.lm.domain.userproduct.UserProductExample;
import com.dz.lm.domain.usersearch.UserSearch;
import com.dz.lm.domain.usersearch.UserSearchExample;
import com.dz.lm.domain.usersend.UserSend;
import com.dz.lm.domain.usersend.UserSendExample;

import java.util.List;

@ReaderRepository("readUserSendDao")
public interface UserSendDao {


    List<UserSend> selectByExample(UserSendExample example) throws DaoException;

    UserSend selectByPrimaryKey(Integer productId)throws DaoException;

    int selectCount(UserSendExample example) throws Exception;
}